<%--
   jqGrid
   Copyright (c) 2013 ISPERP
   Version : 1.0.0
 --%>
<%@ tag language="java" pageEncoding="UTF-8"
	trimDirectiveWhitespaces="true"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ attribute name="id" required="true" type="java.lang.String"
	description="设置唯一的名称，这是一个必需选项。"%>
<%@ attribute name="url" required="false" type="java.lang.String"
	description="url"%>
<%@ attribute name="operationCode" required="false"
	type="java.lang.String" description="operationCode"%>


<c:choose>
	<c:when test="${empty id}">
		<c:set var="ids" value="${id}" scope="request" />
	</c:when>
	<c:otherwise>
		<c:set var="ids" value="${ids}${delimitor}${id}" scope="request" />
	</c:otherwise>
</c:choose>

<c:choose>
	<c:when test="${empty url}">
		<c:set var="urls" value="${url}" scope="request" />
	</c:when>
	<c:otherwise>
		<c:set var="urls" value="${urls}${delimitor}${url}" scope="request" />
	</c:otherwise>
</c:choose>

<c:choose>
	<c:when test="${empty operationCode}">
		<c:set var="operationCodes" value="${operationCode}" scope="request" />
	</c:when>
	<c:otherwise>
		<c:set var="operationCodes"
			value="${operationCodes}${delimitor}${operationCode}" scope="request" />
	</c:otherwise>
</c:choose>